package com.xxd.dfs.client;

/**
 * @author: XiaoDong.Xie
 * @create: 2020-08-18 10:19
 * @description:
 */
public interface FileSystem {

    /**
     * 创建目录
     *
     * @param path 绝对路劲
     * @return
     */
    boolean mkdir(String path);

    void shutdown();

    /**
     * 创建文件
     *
     * @param fileInfo
     * @return
     */
    Boolean upload(FileInfo fileInfo);
}
